package com.damuzee.core.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.core.persistense.AuthenticationMapper;
/**
 * auto generator
 */
 
@Table(name = "admin_authentication")
@BaseResultMap(name=AuthenticationMapper.class)
public class Authentication implements java.io.Serializable {
 
	@Id
  	@Column(name = "authentication_id")
  	private String id ;
  	
  	@Column(name = "userid")
  	private int userid ;
  	
  	@Column(name = "username")
  	private String username ;
  	
  	@Column(name = "email")
  	private String email ;
  	
  	@Column(name = "login_time")
  	private Date loginTime ;
  	
  	@Column(name = "login_ip")
  	private String loginIp ;
  	
  	@Column(name = "update_time")
  	private Date updateTime ;
	 
  	
	public Authentication() {
		super();
	}
	
	public Authentication(String id) {
		super();
		this.id = id;
	}



	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getUserid() {
		return this.userid;
	}

	public void setUserid( int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return this.username;
	}

	public void setUsername( String username) {
		this.username = username;
	}
	public String getEmail() {
		return this.email;
	}

	public void setEmail( String email) {
		this.email = email;
	}
	public Date getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime( Date loginTime) {
		this.loginTime = loginTime;
	}
	public String getLoginIp() {
		return this.loginIp;
	}

	public void setLoginIp( String loginIp) {
		this.loginIp = loginIp;
	}
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime( Date updateTime) {
		this.updateTime = updateTime;
	}
}